package com.android.Ltrack;

import android.app.Activity;
import android.location.Location;
import android.os.Bundle;
import android.os.Handler;
import java.lang.*;


public class Trigger {
	
	//Parameters
	int month;
	int day;
	int hour;
	int minute;
	double latitude;
	double longitude;
	gpsPosition pos = new gpsPosition();
	Location loc = new Location();
	
	//Constructors
	
	
	//Methods
	private gpsPosition GPSGet(){
		pos.latitude = loc.getLatitude();
		pos.longitude = loc.getLongitude();
		return pos;
	}
	
	public int SetTimeTrigger (int In_month, int In_day, int In_hour, int In_minute){
		month = In_month;
		day = In_day;
		hour = In_hour;
		minute = In_minute;
		
		Handler.postAtTime (GPSGet(),);
		
	}
	private SetLocationTrigger (double In_latitude, double In_longitude){
		latitude = In_latitude;
		longitude = In_longitude;
		
	}


}
